package top.fengyulou.xiaofeng.enums;

/**
 * 试题类型
 */
public enum QuestionTypeEnum {

    DANXUAN("A", "单选题"),
    DUOXUAN("B", "多选题"),
    PANDUAN("C", "判断题"),
    ZHUGUAN("D", "主观题");

    private String code;

    private String desc;

    QuestionTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
